    import Exception from './Exception.js';
    
    /**
     * 自定义 API 异常类
     */
    export default class APIException extends Exception {
    
        /**
         * 构造异常
         * 
         * @param {Array<string | number>} exception 异常
         * @param {string} [errmsg] 错误信息
         */
        constructor(exception, errmsg) {
            super(exception, errmsg);
        }
    }